← Index
NYTProf Performance Profile   
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 14:31:06 2016
Reported on Fri Jan 8 14:31:39 2016

Filename(eval 1134)[/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm:78]
StatementsExecuted 4 statements in 2µs
Eval Invoked At/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line 78
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Line State
ments
Time
on line
Calls Time
in subs
Code
1sub {
21300ns my $context = shift || die "template sub called without context\n";
312µs12µs my $stash = $context->stash;
# spent 2µs making 1 call to Template::Context::stash
41300ns my $output = '';
51100ns my $_tt_error;
6
7 eval { BLOCK: {
8#line 1 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
9if (!($stash->get('intranetstylesheet'))) {
10$stash->set('intranetstylesheet', 'staff-global.css');
11}
12
13$output .= "\n";
14#line 6 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
15if (($stash->get(['intranetstylesheet', 0, 'match', [ '^https?:|^\/' ]]))) {
16$output .= "\n <link rel=\"stylesheet\" type=\"text/css\" href=\"";
17#line 3 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
18$output .= $stash->get('intranetstylesheet');
19$output .= "\" />\n";
20}
21else {
22$output .= "\n <link rel=\"stylesheet\" type=\"text/css\" href=\"";
23#line 5 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
24$output .= $stash->get('themelang');
25$output .= "/css/";
26#line 5 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
27$output .= $stash->get('intranetstylesheet');
28$output .= "\" />\n";
29}
30
31$output .= "\n\n<!-- local colors -->\n";
32#line 15 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
33if (($stash->get('intranetcolorstylesheet'))) {
34$output .= "\n ";
35#line 14 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
36if (($stash->get(['intranetcolorstylesheet', 0, 'match', [ '^https?:|^\/' ]]))) {
37$output .= "\n <link rel=\"stylesheet\" type=\"text/css\" href=\"";
38#line 11 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
39$output .= $stash->get('intranetcolorstylesheet');
40$output .= "\" />\n ";
41}
42else {
43$output .= "\n <link rel=\"stylesheet\" type=\"text/css\" href=\"";
44#line 13 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
45$output .= $stash->get('themelang');
46$output .= "/css/";
47#line 13 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc"
48$output .= $stash->get('intranetcolorstylesheet');
49$output .= "\" />\n ";
50}
51
52$output .= "\n";
53}
54
55$output .= "\n";
56 } };
57 if ($@) {
58 $_tt_error = $context->catch($@, \$output);
59 die $_tt_error unless $_tt_error->type eq 'return';
60 }
61
62 return $output;
63}
64
65;